package com.villaday.idf.model3;

import java.util.List;

public class HashHousesEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"current":0,"hasNext":false,"hasPrevious":false,"list":[{"address":"深圳大鹏新区","id":"AkyBLQ95B8","imageUrl":"https://img.villaday.com/images/house_326/60742/60742-10-14507411.png?x-oss-process=image/resize,m_fill,w_120,h_160,limit_0/sharpen,100","name":"测试产品1","permission":{"allowPriceManage":true,"allowStateManage":true}}],"total":1}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * current : 0
         * hasNext : false
         * hasPrevious : false
         * list : [{"address":"深圳大鹏新区","id":"AkyBLQ95B8","imageUrl":"https://img.villaday.com/images/house_326/60742/60742-10-14507411.png?x-oss-process=image/resize,m_fill,w_120,h_160,limit_0/sharpen,100","name":"测试产品1","permission":{"allowPriceManage":true,"allowStateManage":true}}]
         * total : 1
         */

        private int current;
        private boolean hasNext;
        private boolean hasPrevious;
        private int total;
        private List<ListBean> list;

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public boolean isHasPrevious() {
            return hasPrevious;
        }

        public void setHasPrevious(boolean hasPrevious) {
            this.hasPrevious = hasPrevious;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * address : 深圳大鹏新区
             * id : AkyBLQ95B8
             * imageUrl : https://img.villaday.com/images/house_326/60742/60742-10-14507411.png?x-oss-process=image/resize,m_fill,w_120,h_160,limit_0/sharpen,100
             * name : 测试产品1
             * permission : {"allowPriceManage":true,"allowStateManage":true}
             */

            private String address;
            private String id;
            private String imageUrl;
            private String name;
            private PermissionBean permission;
            private int showType;


            public ListBean(int myType) {
                showType = myType;
            }

            public int getShowType() {
                return showType;
            }

            public void setShowType(int showType) {
                this.showType = showType;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getImageUrl() {
                return imageUrl;
            }

            public void setImageUrl(String imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public PermissionBean getPermission() {
                return permission;
            }

            public void setPermission(PermissionBean permission) {
                this.permission = permission;
            }

            public static class PermissionBean {
                /**
                 * allowPriceManage : true
                 * allowStateManage : true
                 */

                private boolean allowPriceManage;
                private boolean allowStateManage;

                public boolean isAllowPriceManage() {
                    return allowPriceManage;
                }

                public void setAllowPriceManage(boolean allowPriceManage) {
                    this.allowPriceManage = allowPriceManage;
                }

                public boolean isAllowStateManage() {
                    return allowStateManage;
                }

                public void setAllowStateManage(boolean allowStateManage) {
                    this.allowStateManage = allowStateManage;
                }
            }
        }
    }
}
